
public class Code014 {
	public static void main(String[] args) {
		for(int i = 1;i <= 100;i++){
			while(i<=20&&i>=10){
				System.out.print(i+ " ");
				break;
			}
		}
		
		System.out.println();

		for(int i = 1;i <= 100;i++){
			if(i<10||i>20){
				continue;
			}else{
				System.out.print(i+ " ");
			}
		}
	}
}
